package com.css.project.oa.travel.mapper;

import com.css.project.oa.travel.domain.TravelItem;
import com.css.project.oa.travel.domain.TravelItemMain;
import com.css.project.oa.travel.domain.TravelPrint;

import java.util.List;

public interface TravelItemMapper {
    int insertTravelItem(TravelItem travelItem) ;

    List<TravelItem> getTravelItemByMainId(Long travelItemMainId) ;

    List<TravelItem> getTravelTaxiItemByTravelId(Long travelId) ;

    int deleteTravelItem(Long travelId) ;
    
    TravelItem getTravelItemSum(TravelItem travelItem);//根据条件查询单据合计+费用合计
    List<TravelPrint> getTravelPrintList(Long travelId);//查询报销单列表
    List<TravelPrint> getTravelPrintMxList(Long travelId);//查询明细列表
}
